package org.openkoala.koala.codechecker;

import org.eclipse.core.resources.IResourceChangeEvent;
import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.ui.IStartup;

public class KoalaStartup implements IStartup {

	@Override
	public void earlyStartup() {
		IResourceChangeListener listener = new KoalaResourceChangeListener();
		ResourcesPlugin.getWorkspace().addResourceChangeListener(
				listener,
				IResourceChangeEvent.POST_CHANGE);
	}

}
